]> dgit.raspbian.org Git - gnome-shell.git/commit
lint: Enable 'prefer-const' rule
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 24 Oct 2025 11:39:03 +0000 (13:39 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 24 Oct 2025 13:37:58 +0000 (15:37 +0200)
commit906d187f0fbbebc11638ca0209ad247efc2ef399
tree6c287e7b0be6580d6c477abe6bd6b25e346bab43
parent3f8b174274fac7d69477523d4873ef8253e1ed49
lint: Enable 'prefer-const' rule

Now that all code conforms with the rule, we can enforce it to make
sure we stick to it with new code.

Relax the rule for destructuring, so we don't have to jump through
hoops to avoid "mixed" assignments.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3931>
tools/eslint.config.js